package team.seekers.skill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;
import team.seekers.skill.entity.dao.User;
import team.seekers.skill.entity.vo.fore.add.UserAddVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hbc
 * @since 2021-02-01
 */
public interface UserService extends IService<User> {

    User selectByName(String username);

    @Transactional(rollbackFor=Exception.class)
    boolean save(UserAddVO userAddVO);
}
